import axios from "./http"
// import post from @/store/userstore"

export const getpostComment = (params) => {
    return axios({
        method: 'post',
        url: '/posts/comments',
        header: {
            //请求头传递token,前面加Bearer
            Arthorizetion: "Bearer" + $store.state.userstore.userInfo.token,
        },
        params
    })

}
